package com.labManage.service;

import com.labManage.entity.Role;
import com.labManage.entity.User;
import com.labManage.vo.UserVo;

import java.util.List;

public interface UserService {
    public User login(UserVo uservo);
    public int register(User user);
    public List<UserVo> getAllUser(Integer page,Integer limit,UserVo condition);
    public int getUserNum(UserVo condition);
    User getUserInfoById(Long modifyUserId);
    int ModifyUserInfo(User user, List<Long> roles);
    int deleteUserInfo(Long id);
    int updateUserPassword(Long id, String newPwd,String usernname);
    int initPassword(User user);
}
